﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ItemWiseDeptList.aspx.cs" Inherits="Stationery_Store_Inventory_Management.ItemWiseDeptList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <h2>Allocate Item Quantity</h2>
        <br />
        <asp:Label ID="lblError" runat="server" Text="Label" Visible="False" ForeColor="Red"></asp:Label>
        <br />
        <br />
      <asp:GridView runat="server" ID="allocationGrid" selectMethod="allocationGrid_GetData" OnRowCommand="allocationGrid_RowCommand" CssClass="table table-hover table-striped table-bordered table-condensed" Width="70%">
          <Columns>
                <asp:TemplateField HeaderText="Allocate Qty">
                    <ItemTemplate>
                    <asp:TextBox ID="ActualQty" Text='<%# Eval("ActualQty")%>' runat="server"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>          
      </asp:GridView>
&nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Allocate" CssClass="btn-primary" />
    &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnBack" runat="server" Text="Back" OnClick="btnBack_Click" Visible="False" CssClass="btn-success" />
        <br />
        <br />
    </div>
      
</asp:Content>
